home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / scsimodepage.z / scsimodepage
Encoding:
Text File  |  2002-10-03  |  7.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm))))                                              ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      scsimodepage - display and edit Mode Pages for SCSI and Fibre Channel
  10.      devices
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee [[[[----DDDD]]]] [[[[----BBBB BBBByyyytttteeee ffffrrrroooommmm SSSSttttaaaarrrrtttt ooooffff PPPPaaaaggggeeee]]]] [[[[----PPPP PPPPaaaaggggeeee NNNNoooo....]]]] [[[[----FFFF RRRReeeeffff....
  14.      FFFFiiiieeeelllldddd NNNNoooo....]]]] [[[[----VVVV NNNNeeeewwww FFFFiiiieeeelllldddd////BBBByyyytttteeee VVVVaaaalllluuuueeee]]]] [[[[----oooo OOOOuuuuttttppppuuuutttt LLLLooooggggFFFFiiiilllleeee]]]] ----dddd _D_e_v_i_c_e
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      scsimodepage is an interactive utility for devices accessed using the _S_G_I
  18.      _S_C_S_I subsystem. It sends a MMMMooooddddeeee SSSSeeeennnnsssseeee((((6666)))) command to the device to get the
  19.      modepages, displays them in a tabular format, allows the user to change
  20.      various fields in those pages and then sends a MMMMooooddddeeee SSSSeeeelllleeeecccctttt((((6666)))) command to
  21.      the device to save the changed modepages.  More information about the
  22.      Mode Sense(6) and Mode Select(6) commands can be found in the SSSSCCCCSSSSIIII
  23.      PPPPrrrriiiimmmmaaaarrrryyyy CCCCoooommmmmmmmaaaannnnddddssss----2222 ((((SSSSPPPPCCCC----2222)))) reference documents.
  24.  
  25.  
  26.    OOOOPPPPTTTTIIIIOOOONNNNSSSS
  27.      In the interactive mode scsimodepage is invoked with the ----dddd _d_e_v_i_c_e_n_a_m_e
  28.      option. The device name must correspond to the 'sc' device.  A logfile to
  29.      store modepage modifications should also be specified using the ----oooo
  30.      _l_o_g_f_i_l_e option. For example :
  31.  
  32.      ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----dddd ////ddddeeeevvvv////ssssccccssssiiii////sssscccc9999dddd77770000llll0000 ----oooo ttttaaaarrrrggggeeeetttt77770000....lllloooogggg
  33.  
  34.      If a logfile is not specified, modepage changes are stored in
  35.      _s_c_s_i_m_o_d_e_p_a_g_e._l_o_g in the current working directory of the user. The
  36.      logfile is intended to facilitate the user to make the same change on
  37.      multiple devices (all supporting the  modepages being edited).  For
  38.      example (assuming the logfile is target70.log):
  39.  
  40.      sssshhhh ttttaaaarrrrggggeeeetttt77770000....lllloooogggg ////ddddeeeevvvv////ssssccccssssiiii////sssscccc9999dddd77771111llll0000
  41.  
  42.      will copy the modepage changes made on sc9d70l0 to sc9d71l0.
  43.  
  44.  
  45.      ----PPPP  PPPPaaaaggggeeee NNNNoooo....
  46.           specifies the number of the modepage to be edited.  Both decimal and
  47.           hex values (preceded by 0x) are acceptable.
  48.  
  49.  
  50.      ----FFFF  RRRReeeeffff.... FFFFiiiieeeelllldddd NNNNoooo....
  51.           Specifies the Reference no. of the modepage field being edited.
  52.           Cannot be used with the -B option.  Both decimal and hex values
  53.           (preceded by 0x) are acceptable.
  54.  
  55.  
  56.      ----VVVV  VVVVaaaalllluuuueeee
  57.           The new value to be placed in the specified field/byte of the page.
  58.           Both decimal and hex values (preceded by 0x) are acceptable.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm))))                                              ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee((((1111mmmm))))
  71.  
  72.  
  73.  
  74.      ----BBBB  BBBByyyytttteeee NNNNoooo....
  75.           Specifies the byte no. from the start of the page.  Bytes are
  76.           numbered starting from 0 and include the bytes forming the page
  77.           header.  This option cannot be used with the -F option.  Both
  78.           decimal and hex values (preceded by 0x) are acceptable.
  79.  
  80.  
  81.      ----DDDD   Load Default Values. This option changes the current values in the
  82.           modepage ( specified using ----PPPP ) to their default values.
  83.  
  84.  
  85.      In the interactive mode an invalid choice results in the default option
  86.      (specified in []) being chosen. For example :
  87.  
  88.      DDDDoooo yyyyoooouuuu wwwwiiiisssshhhh ttttoooo mmmmooooddddiiiiffffyyyy tttthhhhiiiissss [[[[nnnn]]]] ::::
  89.  
  90.      Any keystroke other than 'y' or 'Y' will result in 'n' being chosen.
  91.      Modepage changes can result in loss of system data and this facility
  92.      ensures that the user is fully aware of the changes being made.
  93.  
  94.  
  95. EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
  96.      1111)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----PPPP 0000xxxx1111 ----FFFF 11116666 ----VVVV 0000xxxx1111000022224444 ----dddd <<<<ddddeeeevvvviiiicccceeee>>>>
  97.  
  98.      In this example Field 16 (in the tabular representation) of Page 1 gets
  99.      changed to 0x1024.
  100.  
  101.      2222)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----PPPP 0000xxxx1111 ----BBBB 11116666 ----VVVV 0000xxxx22224444 ----dddd <<<<ddddeeeevvvviiiicccceeee>>>>
  102.  
  103.      In this example the 16th byte of Page 1 gets changed to 0x24.
  104.  
  105.      3333)))) ssssccccssssiiiimmmmooooddddeeeeppppaaaaggggeeee ----PPPP 0000xxxx1111 ----DDDD ----dddd <<<<ddddeeeevvvviiiicccceeee>>>>
  106.  
  107.      In this example the current values of ModePage 1 are changed to their
  108.      default values.
  109.  
  110.  
  111.  
  112. FFFFIIIILLLLEEEESSSS
  113.      /dev/scsi/sc*d*l* - the generic 'sc' scsi driver device
  114.  
  115. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  116.      scsicontrol(1M), scsiha(1M), scsidiskformat(1M), scsidisktest(1M).
  117.  
  118. NNNNOOOOTTTTEEEE
  119.      This command is normally usable only by the superuser, because the
  120.      standard permissions of the devices in /dev/scsi restrict access to other
  121.      users.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.